package com.lagou.demo;


import com.lagou.anno.Check;
import com.lagou.anno.TestAnnotation;

@TestAnnotation(id = 1, msg = "hello annotation")
public class DemoA {

    @Check("demoA")
    private String demoA;

    @Check(value = "demoB")
    private String demoB;

    @Check
    private String demoC;

    @Check(value = "test")
    public void test(){
        Hero hero = new Hero();
        hero.say();
        Hero.speak();
    }
}
